use crate::mem::PhysAddr;
use core::ptr::NonNull;

use crate::uart::regs::UartRegs;

pub const UART_CONTROLLERS: usize = 2;

pub const UART2_BASE: PhysAddr = pa!(0x000_2800_E000);

pub struct UartController {
    pub base: NonNull<UartRegs>,
}

pub struct UartSystem {
    pub controllers: [UartController; UART_CONTROLLERS],
}
